package com.wwinsoft.framework.pojo.common;

import java.io.Serializable;

import com.wwinsoft.modules.utils.reflection.ReflectionUtils;

/**
 * @author: Tim Chen
 * @since 1.0
 */
public class JsNode<T extends Serializable> {

    private String operation;
    private T id;
    private Long revision;
    private T parentId;
    private String name;
    private Double position;
    private String type;
    private Long ref;
    private boolean isCopy;

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public T getId() {
        return id;
    }

    public void setId(T id) {
        this.id = id;
    }

    public Long getRevision() {
        return revision;
    }

    public void setRevision(Long revision) {
        this.revision = revision;
    }

    public T getParentId() {
        return parentId;
    }

    public void setParentId(T parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPosition() {
        return position;
    }

    public void setPosition(Double position) {
        this.position = position;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getRef() {
        return ref;
    }

    public void setRef(Long ref) {
        this.ref = ref;
    }

    public boolean isCopy() {
        return isCopy;
    }

    public void setCopy(boolean copy) {
        isCopy = copy;
    }
}
